bitkeeper revision 1.1159.17.20 (411ba1b3C9nxXbGo3TmMBqL5zmK2LQ)
authorcl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Thu, 12 Aug 2004 16:58:27 +0000 (16:58 +0000)
committercl349@freefall.cl.cam.ac.uk <cl349@freefall.cl.cam.ac.uk>
Thu, 12 Aug 2004 16:58:27 +0000 (16:58 +0000)
Allow domains other than domain 0 to write to the console in VERBOSE builds.

xen/drivers/char/console.c

index 23456261e319ec7ce5682aa8fc06aaa6070e5f25..09f7ab030705cb428dccd160f7faa8dd48db4fdc 100644 (file)
@@ -292,7 +292,7 @@ long do_console_io(int cmd, int count, char *buffer)
     char *kbuf;
     long  rc;
 
-#ifdef NDEBUG
+#ifndef VERBOSE
     /* Only domain-0 may access the emergency console. */
     if ( current->domain != 0 )
         return -EPERM;